package pharmacy

class Doctor {
    String name;
    static hasMany=[prescriptions:Prescription];
    static constraints = {
        name(notNull:false)
    }
	String toString(){
		"Doctor ${name} (${id})";
	}
}
